package com.zlq.cn.config;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Accessors(chain = true)
@Component
@ConfigurationProperties(prefix = "finder-config")
public class FinderConfiguration {
    public static final String DEV = "DEV";
    // 阿里云服务访问
    private String aliyunAccessKeyId;
    private String aliyunAccessSecret;
    private String loversAliyunAccessKeyId;
    private String loversAliyunAccessSecret;
    private String regionId;
    private String smsSignName;
    private String smsDomain;
    private String smsTemplateCode;
    private String endpoint;
    private String roleArn;
    private String roleSessionName;
    private boolean openTask;
    private Integer locationLogBatchSize;
    private Integer locationResetCount;
    private boolean openSendSms;
    private String profile;
    private int minBattery;
    private int userOnlineTimeout;
    private String iosPayPasswordDev;
    private String iosPayPasswordPro;
    private String fanyiIosPayPasswordPro;
    private String aiIosPayPasswordPro;
    private String configUrl;
    private int bindUserLocationCount;
    private int locationDistance;
    // 阿里云推送
    private Long pushAndroidAppKey;
    private Long pushIosAppKey;
    private Long loversPushIosAppKey;
    private String pushRegionId;
    private String pushProfile;
    private String pushIosProfile;

    private String switchYes;
    private String switchNo;

    private String tencentSecretId;
    private String tencentSecretKey;

    private String visualSecretId;
    private String visualSecretKey;

    private String qianfanAccessKey;
    private String qianfanSecretKey;
}
